package com.sea.operate.mapper;

import com.sea.operate.entity.Related;
import com.sea.operate.entity.RelatedMaterial;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  运营对照表表接口
 * @author 陈鸿飞
 * <br/>
 */
public interface RelatedMaterialMapper {

    /**
     * 条件查询
     * @param relatedMaterial
     * @return
     */
    List<RelatedMaterial> findByCnd(RelatedMaterial relatedMaterial);


    Integer insert(RelatedMaterial relatedMaterial);

    RelatedMaterial findByListingChannel(RelatedMaterial relatedMaterial);

    Integer updateModifyTime(Integer id);

}